package com.jams.goodox.entity;

import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by Jin on 2016/8/19.
 * Description
 */
public class ProductDetailBean extends BaseEntity {
	/**
	 * advicePrice : 8.00
	 * goodsFormat : 原产地：欧洲、中亚西亚、北美,性味：性平、味甘、微酸,功用：生津止渴、清热除烦、健胃消食,
	 * goodsStatus : 0
	 * images : []
	 * originalPrice : 10.00
	 * productContent :  <span style="white-space:pre">	</span>苹果（Apple），是最常见的水果之一。苹果树属于蔷薇科，落叶乔木，叶椭圆形，有锯齿。其果实球形，味甜，口感爽脆，且富含丰富的营养，是世界四大水果之冠。苹果通常为红色，不过也有黄色和绿色。<br /><span style="white-space:pre">	</span>苹果是一种低热量食物，每100克只产生60千卡热量。苹果中营养成份可溶性大，易被人体吸收，故有“活水”之称，其有利于溶解硫元素，使皮肤润滑柔嫩[1]  。据说每天一苹果，医生远离你。<br /><span style="white-space:pre">	</span>根据联合国粮农组织统计，2013年全世界的苹果产量为8082万吨，超过葡萄的7718万吨，排世界第二位（第一位是香蕉：1.067亿吨）[2]  。毫无疑问，苹果是温带水果之王[2]  。鹅鹅鹅
	 * productId : 658ea6d0-69e7-11e6-a23e-00163e005381
	 * productLimitBuy : 0
	 * productName : 绿漫苹果
	 * productPrice : 0.01
	 * productSold : 1
	 * productStock : 499
	 * productUnit : 个
	 * promotionName :
	 * promotionTime :
	 * promotionType : 0
	 * salePrice : 0
	 * specificationList : ["原产地：欧洲、中亚西亚、北美,性味：性平、味甘、微酸,功用：生津止渴、清热除烦、健胃消食,"]
	 * storeName : 绿漫服务汇
	 * storePrice :
	 */

	private DataBean data;

	public DataBean getData() {
		return data;
	}

	public void setData(DataBean data) {
		this.data = data;
	}

	public class DataBean extends Product {
		private String advicePrice;
		private String goodsFormat;
		private String goodsStatus;
		private String productContent;
		private String promotionName;
		private String promotionTime;
		private String salePrice;
		private String storeName;
		private String storePrice;
		private List<ImagesBean> images;
		private List<String> specificationList;

		public String getAdvicePrice() {
			return advicePrice;
		}

		public void setAdvicePrice(String advicePrice) {
			this.advicePrice = advicePrice;
		}

		public String getGoodsFormat() {
			return goodsFormat;
		}

		public void setGoodsFormat(String goodsFormat) {
			this.goodsFormat = goodsFormat;
		}

		public String getGoodsStatus() {
			return goodsStatus;
		}

		public void setGoodsStatus(String goodsStatus) {
			this.goodsStatus = goodsStatus;
		}

		public String getProductContent() {
			return productContent;
		}

		public void setProductContent(String productContent) {
			this.productContent = productContent;
		}

		public String getPromotionName() {
			return promotionName;
		}

		public void setPromotionName(String promotionName) {
			this.promotionName = promotionName;
		}

		public String getPromotionTime() {
			return promotionTime;
		}

		public void setPromotionTime(String promotionTime) {
			this.promotionTime = promotionTime;
		}

		public String getSalePrice() {
			return salePrice;
		}

		public void setSalePrice(String salePrice) {
			this.salePrice = salePrice;
		}

		public String getStoreName() {
			return storeName;
		}

		public void setStoreName(String storeName) {
			this.storeName = storeName;
		}

		public String getStorePrice() {
			return storePrice;
		}

		public void setStorePrice(String storePrice) {
			this.storePrice = storePrice;
		}

		public List<ImagesBean> getImages() {
			return images;
		}

		public void setImages(List<ImagesBean> images) {
			this.images = images;
		}

		public class ImagesBean {
			private int height;
			private String urlPath;
			private int width;

			public int getHeight() {
				return height;
			}

			public void setHeight(int height) {
				this.height = height;
			}

			public String getUrlPath() {
				return urlPath;
			}

			public void setUrlPath(String urlPath) {
				this.urlPath = urlPath;
			}

			public int getWidth() {
				return width;
			}

			public void setWidth(int width) {
				this.width = width;
			}
		}

		public List<String> getSpecificationList() {
			return specificationList;
		}

		public void setSpecificationList(List<String> specificationList) {
			this.specificationList = specificationList;
		}
	}
}
